package com.tcm.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @author Guqier
 * @version 1.0
 * @date 2023/7/20 16:06
 */
@Data
@TableName("ts_subject_item")
public class SubjectItem implements Serializable {

    //题目ID
    private Long id;

    //难易程度，码表ID
    private Long difficultyId;

    // 知识点归类，可用于检索，可填多个，通过“|”分割
    private String knowledgePoint;

    //题目，案例患者病症主诉
    private String content;

    //病症类别，关联码表
    private Long category;

    //案例患者年龄
    private Integer age;

    //案例患者性别，0为女性，1为男性
    private Integer gender;

    //答案：诊断
    private String ansDiagnose;

    //答案：病机
    private String ansCause;

    //答案：治法
    private String ansMethod;

    //答案：处方
    private String ansPrescription;

    //答案：药物
    private String ansMedicine;

    //病症解析
    private String analysis;

    //诊断提示语
    private String tipDiagnose;

    //病机提示语
    private String tipCause;

    //治法提示语
    private String tipMethod;

    //处方提示语
    private String tipPrescription;

    //药物提示语
    private String tipMedicine;

    //状态，0启用，1停用
    @TableField(fill = FieldFill.INSERT)
    private Integer status;

    //创建时间
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;

    //创建用户ID
    private Long createUser;

    //更新时间
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;

    //更新用户ID
    private Long updateUser;

    //备注
    private String memo;


}
